#ricenoodle-model-container {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    /* 'sticky' is responsible for keeping the figure centered in the page as the user scrolls */
    /* 'left' is required for 'position:sticky' to function */
    left: 0;
    /* 'width:100%' and 'margin:0' forces the figure to take up the maximum space. This helps with image sizing and centering*/
    width: 100%;
    margin: 0;
    /*OPTIONAL: Setting the min-height prevents the figure from becoming unreadable */
    min-height: 250px;
    /* 'transform' is included to ensure z-index works properly on all kinds of devices */
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    /* OPTIONAL: you can choose any background color */
    background-color: white;
    /* outline: yellow dashed; */
    z-index: 1;
}

#ricenoodle-model-viewer {
    position: relative;
    margin: 0;
    height:100%;
    width: 100%;
    background-color: white;
    /* background-image:url(/images/virus-bg.jpg) ;
    background-size: cover; */
    z-index: 2;
}

#ar-button {
    position: absolute;
    border-radius: 50px;
    border: none;
    bottom: 10px;
    left: 10px;
    padding: 5px;
    width: 80px;
    height: 80px;
    text-align: center;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    background-image: linear-gradient(to right, #009bff 0%, #00d2ff 100%);
    z-index: 3；
}

#ar-button:active {
    background-color: #E8EAED;
}

#ar-button:focus {
    outline: none;
}

#ar-button:focus-visible {
    outline: 1px solid #4285f4;
}

.Hotspot {
    background:whitesmoke;
    border-radius: 32px;
    border: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
    cursor: pointer;
    height: 24px;
    padding: 8px;
    position: relative;
    transition: opacity 0.3s;
    width: 24px;
}

.Hotspot:not([data-visible]) {
    background: transparent;
    border: 4px solid #fff;
    box-shadow: none;
    height: 32px;
    pointer-events: none;
    width: 32px;
}

.Hotspot:focus {
    border: 4px solid rgb(0, 128, 200);
    height: 32px;
    outline: none;
    width: 32px;
}

.Hotspot>* {
    opacity: 1;
    transform: translateY(-50%);
}

.HotspotAnnotation {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    color: rgba(0, 0, 0, 0.8);
    display: block;
    font-family: Futura, Helvetica Neue, sans-serif;
    font-size: 14px;
    font-weight: 700;
    left: calc(100% + 1em);
    max-width: 128px;
    padding: 0.5em 1em;
    position: absolute;
    top: 50%;
    width: max-content;
}

.Hotspot:not([data-visible])>* {
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(-50% + 4px));
    transition: transform 0.3s, opacity 0.3s;
}

/* .figCaption {
    font-size: small;
    padding: 4px;
    border: 1px;
    margin: 5px 10px;
    color: black;
} */


